package AFMAnalysis;

import java.awt.Polygon;
import java.util.ArrayList;

import Voronoi.GraphEdge;

public class VoronoiPolygon extends Polygon{

	ArrayList<GraphEdge> edges;
	int numSides;
	boolean isClosed;
	
	public VoronoiPolygon(GraphEdge start){
		
		edges = new ArrayList<GraphEdge>();
		edges.add(start);
		numSides = 1;
		isClosed = false;
		this.addPoint((int)start.x1, (int)start.y1);
		this.addPoint((int)start.x2, (int)start.y2);
	}
}
